package service.Impl;

import dao.AdminDao;
import dao.impl.AdminDaoImpl;
import entity.Admin;
import service.AdminService;

public class AdminServiceImpl implements AdminService {
    @Override
    public Admin login(String adminName, String password) {
        AdminDao adminDao = new AdminDaoImpl();
        return adminDao.login(adminName,password);
    }
}
